from abc import ABC, abstractmethod

from mdtool.config_reader import Config


class Command(ABC):
    """命令接口"""

    @abstractmethod
    def execute(self, config: Config, **kwargs) -> bool:
        """执行命令"""
        pass
